#include <iostream>
#include <limits>
using namespace std;

int main() {
	double input = 0;
	long double sum = 0;
	long counter = 0;
	double menor = std::numeric_limits < double >::max();
	double maior = -std::numeric_limits < double >::max();

	while (cin >> input) {
		counter++;
		if (input < menor)
			menor = input;
		if (input > maior)
			maior = input;
		sum += input;
	}

	cout << "\nQtde de dados = " << counter << endl;
	cout << "somatório = " << sum << endl;
	cout << "\nmenor = " << (counter ? menor : 0) << endl;
	cout << "maior = " << (counter ? maior : 0) << endl;
	cout << "média = " << (counter ? sum / counter : 0) << endl;
	return 0;
}
